<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="/WEB-INF/tld/util.tld" prefix="myutil" %>
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>月新增客户</title>
<link href = "/ecp/resources/css/default/base.css" rel = "stylesheet" type = "text/css"/>
<script type="text/javascript" src="/ecp/resources/js/jquery-1.8.1.js"></script>
<script type="text/javascript" src="/ecp/resources/js/tydic.js"></script>
<script type="text/javascript" src="/ecp/resources/fusioncharts/FusionCharts.js"></script>
<script type="text/javascript">
var chart ;

  jQuery(function($) {
	dicPath = '/ecp/resources/css/default/images/';
	   chart = new FusionCharts("/ecp/resources/fusioncharts/MSColumn3D.swf", "ChartId", "100%", "100%", "0", "0");
       chart.setXMLUrl("/ecp/backstage/statistics/cust/queryCustMonth.do");
       chart.render("chartdiv");
	
   });
   
   function query(){
		var param = $("#paramForm").serialize();
		
		$.ajax({
		   type: "POST",
		   url: "/ecp/backstage/statistics/cust/queryCustMonth.do",
		   data: param,
		   success: function(msg){
		      chart.setXMLData(msg);
		   }
		});
	    
   }
</script>
</head>
<body>
<myutil:munuPaht menueId='${param.menuId}'/>
     <table border = "0" cellspacing = "0" cellpadding = "0">
         <tr>
             <td width = "40"><img src = "/ecp/resources/css/default/images/space.gif" class = "img-search"/></td>
             <td>
                 <form id="paramForm" accept-charset="UTF-8">
                 <table border = "0" cellpadding = "0" cellspacing = "0" class = "searchtab fl">
                     <tbody>
                     <tr>
                         <th>开始年份：</th>
                         <td><input name = "account" type = "text" class = "input90"/></td>
                         <th>结束年份：</th>
                         <td><input name = "name" type = "text" class = "input90"/></td>
                         <td>
                             <input type = "button" onclick="query();"  name = "button2" id = "button2" value = "查询" class = "btn1"/>
                         </td>
                     </tr>
                     </tbody>
                 </table>
                 </form>
             </td>
         </tr>
     </table>
<div id="chartdiv" align="center" style="height:460px">
</div>
</body>

</html>
